Enable IOMMU for PV guests
authorKeir Fraser <keir.fraser@citrix.com>
Sat, 24 May 2008 08:37:35 +0000 (09:37 +0100)
committerKeir Fraser <keir.fraser@citrix.com>
Sat, 24 May 2008 08:37:35 +0000 (09:37 +0100)
commit9df55200f749250f6befbef3d255f6b009e1f14d
treed1808a3fcac5e3b5882ef37fce348b4814c65586
parentea3cb6b367f2a3d8f34392fe2a500ec3f4a68dc3
Enable IOMMU for PV guests

Introduce 'iommu_pv' boot parameter (default off).  Added a need_iommu
flag which is set if guest has PCI devices assigned.  IOMMU page
tables are populated with current guest memory when IOMMU is first
enabled for the guest.

Signed-off-by: Espen Skoglund <espen.skoglund@netronome.com>
xen/drivers/passthrough/iommu.c
xen/drivers/passthrough/vtd/iommu.c
xen/include/xen/hvm/iommu.h
xen/include/xen/iommu.h
xen/include/xen/sched.h